﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;
using System.Configuration;

namespace Helpers
{
    public class LogHelper
    {
        static LogHelper()
        {
            string loggername = ConfigurationSettings.AppSettings["DefaultLoggerName"];
            if (!StringHelper.IsnullOrBlank(loggername))
            {
                Log = LogManager.GetLogger(loggername);
            }
        }

        public static ILog Log { get; protected set; }
    }
}
